package com.vshop.entity.alast.single.autorenewal.cancel.request;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * @author lm
 * @date 2021/1/20 14:28
 */
@Data
public class RequestStripeSubCancel implements Serializable {

    @ApiModelProperty(value = "接口名称。此字段不可传空字符串", example = "stripeSubCancel", dataType = "String")
    private String tradeType;

    @ApiModelProperty(value = "访问时间戳。此字段不可传空字符串", example = "20181031256548", dataType = "String")
    private String tradeTime;

    @ApiModelProperty(value = "接口版本，本次接口值为：3.0。此字段不可传空字符串", example = "3.0", dataType = "String")
    private String version;

    @ApiModelProperty(value = "渠道编码。此字段不可传空字符串", example = "P000818", dataType = "String")
    private String partnerCode;

    @ApiModelProperty(value = "付款邮箱", example = "421516116@qq.com", dataType = "String")
    private String email;

    @ApiModelProperty(value = "H5传给Stripe的唯一支付id，P开头的，对应description", example = "P0002702020110214193780630", dataType = "String")
    private String payId;

    @ApiModelProperty(value = "pm_id是在stripe的方法confirmSetupIntent返回结果里获取到的计划值", example = "pm_1GnMUDLnVNBddzslXw7xuoe6", dataType = "String")
    private String pm_id;

    @ApiModelProperty(value = "H5自行生成一个计划id用于我们自行存储：PL+yyyyMMddHHMMss+2位随机数", example = "", dataType = "String")
    private String plan_id;

    @ApiModelProperty(value = "大概标识一个用户", example = "sub_HLLr4gp6tAGRD2", dataType = "String")
    private String sub_id;

    @ApiModelProperty(value = "请求签名。此字段不可传空字符串", example = "b2a9e697bdff66049803d62ffeffccaf", dataType = "String")
    private String sign;
}
